@import url("./formArea.scss");

* {
  margin: 0;
  padding: 0;
}

#app {
  min-width: 1530px;
}

div,
span {
  box-sizing: border-box;
}

/* 字体样式 */

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

// 全局头部右margin距离
.headerRightMargin_G {
  margin-right: 26px;
}

// 全局el-date-picker(日期选择器)样式 start
.timePicker_G {
  height: 32px;
  line-height: 32px !important;
  border-radius: 2px;
  padding-left: 16px;
  padding-right: 0;
}

.timePicker_G .el-input__icon {
  line-height: 25px;
}

.timePicker_G .el-range-separator {
  line-height: 25px;
}
// 全局el-date-picker(日期选择器)样式 end

// 全局头部输入框样式 start
.headerInput_G {
  width: 288px;

  .el-input__inner {
    height: 32px !important;
    line-height: 32px !important;
    border-radius: 2px;
  }

  .el-input__icon {
    line-height: 32px;
    transform: rotate(180deg);
  }

  /* 更改el-cascader下拉框的图标 */
  .el-icon-arrow-down:before {
    content: "\e78f";
  }
}

// 更改下拉框下拉图标的角度
.el-cascader .el-input .el-icon-arrow-down.is-reverse {
  transform: rotate(0deg);
}

// 全局头部输入框样式 end

// 全局el-link右margin
.el-linkRightMargin_G {
  margin-right: 16px;
}

// switch全局样式 start
/* 去掉switch外层的div溢出隐藏 */
.el-table >>> .cell {
  overflow: visible;
}

/* 设置switch的宽高边框 */
.switchStyle_G {
  .el-switch__core {
    width: 28px !important;
    height: 12px;
    // border: 2px solid red !important;
  }

  /* 设置switch圆形按钮的宽高边框位置 */
  .el-switch__core:after {
    top: -3px;
    width: 16px;
    height: 16px;
    border: 3px solid #006eff;
  }

  /* 设置switch圆形按钮的关闭位置 */
  .el-switch__core:after {
    left: -4px;
  }
}

/* 设置switch圆形按钮的激活位置 */
.switchStyle_G.is-checked {
  .el-switch__core::after {
    left: 115%;
  }
}
// switch全局样式 end

// 表格分页器和页面全局样式
#pagination_section_G {
  display: flex;
  justify-content: space-between;
}

.currentSelect_G {
  display: inline-block;
  margin: 32px 0 32px 16px;
  color: #888888;
  font-size: 16px;
}

.pagination_right_G {
  display: flex;
  line-height: 34px;
  margin: 25px 16px 26px 0;
}

.pagination_right_G span {
  color: #888888;
  font-size: 14px;
}

// 对话框分页器全局样式
.pagination_right_dialog_G {
  margin-bottom: 20px !important;
  justify-content: space-between !important;
}

.currentSelect_dialog_G {
  margin: 0 !important;
}

.contentTable_G {
  .el-tag {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #fff;
    background-color: #91c0ff;
    margin-right: 8px;
    border-radius: 2px;
  }
}

// 表格筛选箭头全局样式
.contentTable_G .el-table__column-filter-trigger {
  margin-left: 5px;

  i {
    transform: rotate(180deg);
  }
}

.contentTable_G .el-icon-arrow-down:before {
  content: "\e78f";
}

/* 全局删除对话框样式start */

/* 对话框标题加粗 */

.dialogTitle_G {
  font-weight: bold;

  .el-dialog {
    border-radius: 10px;
    padding: 6px 10px 18px 10px !important;
  }

  .el-dialog__close {
    font-size: 22px;
  }
}

.deleteTip1_G {
  font-weight: 400;
  margin-bottom: 28px;
  color: #000000;
}

.deleteTip2_G {
  font-weight: 400;
  margin-bottom: 39px;
  color: #000000;
}

.dialog-footer_G {
  text-align: center;
}

/* 全局删除对话框样式end */
ul,
li {
  padding: 0;
  margin: 0;
  list-style: none;
}

// 对话框下拉框样式 start
.formCascader_G {
  width: 100%;

  .el-input--small .el-input__inner {
    height: 40px;
  }

  .el-icon-arrow-down:before {
    content: "\e78f";
  }

  i {
    transform: rotate(180deg);
  }
}
